package cn.edu.kzjsxy.graduationproject.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 每日宿舍卫生检查记录表
 * </p>
 *
 * @author chén jiā jùn
 * @since 2024-04-14
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("daily_dormitory_cleanliness")
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="DailyDormitoryCleanliness对象", description="每日宿舍卫生检查记录表")
public class DailyDormitoryCleanliness implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "卫生检查记录ID")
    @TableId(value = "cleanliness_record_id", type = IdType.ASSIGN_UUID)
    private String cleanlinessRecordId;

    @ApiModelProperty(value = "宿舍ID")
    @TableField("dormitory_id")
    private String dormitoryId;

    @ApiModelProperty(value = "检查日期")
    @TableField("inspection_date")
    private LocalDateTime inspectionDate;

    @ApiModelProperty(value = "卫生评分（满分标准自定，如1-100分）")
    @TableField("score")
    private Integer score;

    @ApiModelProperty(value = "检查员ID（可能是管理员或其他负责人员）")
    @TableField("inspector_id")
    private String inspectorId;

    @ApiModelProperty(value = "备注信息（如发现的问题、改进意见等）")
    @TableField("remarks")
    private String remarks;


}
